<?php
session_start();
if(!session_is_registered("user")){
	echo "<br/>";
	echo "<script>alert('Maaf, silahkan masuk terlebih dahulu..!');window.location.href='index.php';</script>";
	exit();
	}
?>